Click here to show toolbars of the Web Online Help System: show toolbars |
date_get_year(date);
参数 | 描述 |
---|---|
date | 用于检查的日期时间。 |
返回: Real(实数)
This function returns the year of the given datetime.
myyear = date_get_year(date_current_datetime());
This would set "myyear" to the current year.